package com.cenntro.oss.model.vo;

import javax.validation.constraints.NotBlank;
import javax.validation.constraints.NotNull;

import com.cenntro.common.model.vo.PageVO;
import com.cenntro.oss.valid.Valid;

import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;

@Data
public class AgentVO {
	
	@NotNull(message="修改操作，id不能为空",groups={Valid.update.class})
	private Integer id;
	@ApiModelProperty(value="客户名字")
	@NotBlank(message="客户名字不能为空",groups={Valid.insert.class})
	private String  company;
	@ApiModelProperty(value="联系人")
	@NotBlank(message="联系人不能为空",groups={Valid.insert.class})
	private String  linkMan;
	@ApiModelProperty(value="所在区域")
	//@NotBlank(message="所在区域不能为空",groups={Valid.insert.class})
	private String  city;
	@ApiModelProperty(value="详细地址")
	private String  address;
	@ApiModelProperty(value="电话")
	private String  linkTel;
	@ApiModelProperty(value="备注")
	private String  remark;
	@ApiModelProperty(value="国家")
	@NotBlank(message="国家不能为空",groups={Valid.insert.class})
	private String country;
	
	@ApiModelProperty(value="帐户")
//	@NotBlank(message="登录帐号不能为空",groups={Valid.insert.class})
	private String account;
	@ApiModelProperty(value="密码")
//	@NotBlank(message="密码不能为空",groups={Valid.insert.class})
	private String password;

	@ApiModelProperty(value="行业名称")
	@NotBlank(message="行业不能为空",groups={Valid.insert.class})
	private String  industry;
	@ApiModelProperty(value="归属车辆数量", hidden =true)
	private Integer carNum;

	/**
	 * 上级组织id（agentid）
	 */
	@ApiModelProperty(value="上级组织id（agentid）")
	private Integer pid;
	
	private String logo;
	private String linkEmail;
	private Integer type;
	private String agentPath;
	private Integer status;
	
	
	
	
	
	
}
